package com.mall.db.api;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.dto.OmsOrderDto;
import com.mall.pojo.OmsOrderDeliveryParam;
import com.mall.pojo.OmsOrder;
import com.mall.pojo.OmsReceiverInfoParam;
import com.mall.vo.OmsOrderVo;

import java.util.List;

public interface OmsOrderApi {
    Page<OmsOrder> omsOrderPage(OmsOrderDto omsOrderDto);

    Integer deleteOrder(List<Integer> ids);

    Integer updateCloseStatus(List<Integer> ids, String note);

    OmsOrderVo findOrderById(Integer id);

    Integer updateNoteById(Long id, String note, Integer status);

    //批量发货
    Integer updateDeliveryByIds(List<OmsOrderDeliveryParam> deliveryParamList);

    //修改用户名收货信息
    Integer updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam);
}
